package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 消息发布对象 sys_msg_send
 *
 * @author zmc
 * @date 2022-05-25
 */
@Data
@ApiModel
public class SysMsgSend extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 编号 */
    @ApiModelProperty(value = "编号")
    private String id;

    /** 标题 */
    @Excel(name = "标题")
    @ApiModelProperty(value = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    @ApiModelProperty(value = "内容")
    private String content;

    /** 接收人 */
    @Excel(name = "接收人")
    @ApiModelProperty(value = "接收人")
    private Long userId;

    /** 模块类型 */
    @Excel(name = "模块类型")
    @ApiModelProperty(value = "模块类型")
    private String moduleType;

    /** 模板类型 */
    @Excel(name = "模板类型")
    @ApiModelProperty(value = "模板类型")
    private List<String> templateType;

    /** 模板id */
    @Excel(name = "模板id")
    @ApiModelProperty(value = "模板id")
    private String templateId;

    /** 系统消息 */
    @Excel(name = "系统消息")
    @ApiModelProperty(value = "系统消息")
    private Integer msgSys;

    /** 微信消息 */
    @Excel(name = "微信消息")
    @ApiModelProperty(value = "微信消息")
    private Integer msgWx;

    /** 通知栏 */
    @Excel(name = "通知栏")
    @ApiModelProperty(value = "通知栏")
    private Integer msgNotice;

    /** 阅读状态 */
    @Excel(name = "阅读状态")
    @ApiModelProperty(value = "阅读状态")
    private String readStatus;

    /** 发送状态 */
    @ApiModelProperty(value = "发送状态")
    private String sendStatus;

    /** 接收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "接收时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "接收时间")
    private Date receiveTime;


}
